﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Lf_VoteSys.Models
{
    public class RegisterRequest
    {
        /// <summary>
        /// 邮箱
        /// </summary>
        [Required(ErrorMessage = "邮箱不能为空")]
        
        public string UserEmail { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [Required(ErrorMessage = "密码不能为空")]
        public string UserPwd { get; set; }

        /// <summary>
        /// 二次确认密码
        /// </summary>
        [Required(ErrorMessage = "二次确认密码不能为空")]
        public string CirUserPwd { get; set; }
    }
    
}
